<?php
return [
    'base_url'    => env('KWAIXIAODIAN_BASE_URL', 'https://open.kwaixiaodian.com'),
    'appKey'      => env('KWAIXIAODIAN_APP_KEY', ''),
    'appSecret'   => env('KWAIXIAODIAN_APP_SECRET', ''),
    'appScope'    => env('KWAIXIAODIAN_APP_SCOPE', 'merchant_comment,merchant_item,merchant_logistics,merchant_order,merchant_servicemarket,merchant_user,user_info'),
    'version'     => env('KWAIXIAODIAN_VERSION', 1),
    'signMethod'  => env('KWAIXIAODIAN_SIGN_METHOD', 'MD5'),
    'signSecret'  => env('KWAIXIAODIAN_SIGN_SECRET', ''),
    'redirectUri' => env('KWAIXIAODIAN_REDIRECT_URI', 'http://cross.cc/online/v1/auth/callback'),
    //[0, "未知状态"], [10, "待付款"], [30, "已付款"], [40, "已发货"], [50, "已签收"], [70, "订单成功"], [80, "订单失败"];
    'order_status'      => [
        0  => 'UNKNOWN',
        10 => "UNPAID",
        30 => 'READY_TO_SHIP',
        40 => 'SHIPPED',
        50 => 'TO_CONFIRM_RECEIVE',
        60 => 'FAILED',
        70 => 'COMPLETED',
    ]
];
